/**
 * @file        struct_size.c
 * @author      Shadow3D (ShadowThreeD@outlook.com)
 * @brief       
 * @version     0.1
 * @date        2022-01-19
 * 
 * @copyright Copyright (c) 2022
 * 
 */
#include <stdio.h>
#include <stdint.h>

typedef struct {
    uint32_t stuNo;     // 4 bytes
    char *stuName;      // 4 bytes
    float stuSco[3];    // 4*3 bytes
} STU_t, *STU_p_t;

int main(void)
{
    printf("len = %d\r\n", sizeof(STU_t));      /* len = 20 */

    return 0;
}